using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;

namespace irc_remote_admin
{
    class User
    {
        private class _tread
        {
            bool Active = true;

            public void InitThread()
            {
                while (this.Active)
                {
                    
                    
                    Thread.Sleep(1000);
                }
            }
        }

        private DateTime _dt_CreateClass = DateTime.Now;
        private string _s_NickName = null;
        private Thread ThreadUser;


        public DateTime ConnectTime 
        {
            get { return this._dt_CreateClass; }
        }

        public string NickName
        {
            get { return this._s_NickName; }
        }
        
        public User(string Nick)
        {
            this._s_NickName = Nick;
            _tread _thr = new _tread();
            ThreadUser = new Thread(new ThreadStart(_thr.InitThread));
            ThreadUser.Start();
            
        }
    }
}
